#ifndef     __MOTOR_H
#define     __MOTOR_H


#include "pwm.h"


#define MOTOR_PIN1 BITBAND_PERI(P3OUT,5)
#define MOTOR_PIN2 BITBAND_PERI(P3OUT,6)
#define MOTOR_PIN3 BITBAND_PERI(P3OUT,7)
#define MOTOR_PIN4 BITBAND_PERI(P5OUT,2)


#define PWM_MAX  7200
#define PWM_MIN  (-7200)

void    motor_init(void);
void    Load    (int   motor1,int motor2);

#endif


